home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
com
/
othernet
/
fidonet
/
sigad103
/
sigadd.doc
< prev
next >
Wrap
Text File
|
1994-08-24
|
11KB
|
264 lines
SIGaddST
Copyright (c) Paul Civati
Version 1.03
Aug 24 1994
Coded with Sozobon/HSC (Heat & Serve C) v1.40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SIGaddST is simply a program for adding signatures to messages that you've
written in QBBS format message bases. It gets the signatures from text
files, which can be a default text file or an individual one for certain
areas. In these text files can be control codes to add things like random
taglines, a default tagline file is used or again individual tagline files
for certain areas.
SIGaddST has been tested with the following mail processors:
Echomail Netmail
Mail Processor Compatibility Compatibility
-----------------------------------------------------------
ACS 1.31 ....................... Yes ............. No .....
ACS 1.33 ....................... Yes ............. Yes ....
JetMail 0.99beta9 .............. Yes ............. No .....
* Compatibility is determined by how the mail processor handles the
mailer[7] field of the msgbase, explained later in the docs.
In the archive you should find the following files:
SIGADD.DOC ....... You're reading it!
SIGADD.TOS ....... The main executable
SIGADD.CFG ....... An example of the main configuration file
SIGADD.LST ....... An example of an areas list file
GENERAL.SIG ...... My sigfile, the default for the above config
SMALADDR.SIG ..... Another of my signature files, as in the config
USENET.SIG ....... Another of my signature files, as in the config
USENETST.SIG ..... Another of my signature files, as in the config
TAGLINES.TXT ..... A few example taglines, you should get yer own ;-)
OPERATION:
==========
SIGadd should be run after you've written all your messages, it will then
find these using the name specified in the configuration file and checking
that the mailer[7] field in the msg header is equal to 0 and not marked as
deleted.
As SIGadd processes all the messages it will write out a logfile (SIGADD.LOG)
showing what it has done. To add the signature to each message it first
adds the new message text to the bottom of the .MSG file and creates a new
record for it in the .HDR file, then it marks the original as deleted so
that the mail processing software will delete it when it tidies up the
message base.
The following is a summary of the logging types SIGadd outputs to the
SIGADD.LOG log file:
' ' ... Unimportant
'*' ... Begin/end
'+' ... Writing a file
'-' ... Reading a file
'#' ... Area process info
'!' ... Error
'%' ... Statistical
'=' ... Appending
'?' ... Query
This list may be used as a referance for disabling certain output, this is
explained in more detail later.
Care should be taken not to process the messages you've written more than
once, so once you have run SIGadd you should run your mail export software
afterwards (the mailer[7] field will then be set to something other than
zero when your mailer s/w processes it and SIGadd won't process the message
again).
MAIN CONFIGURATION:
===================
The 'Name' keyword should be your name, so SIGadd finds the message you've
written. The 'AddText' keyword should be the default signature that is
added to messages. The 'AreasList' keyword is the file that contains the
list of areas you want to add signatures to. The 'QuoteFile' keyword is the
default file of one line quotes you want added to your messages where %q is
placed.
Each line of the areas list file is as follows:
<area>,[<opt alt SIG file>],[<opt alt tagline file>],[<opt alt fromname>]
Each area is specified one per line with _no_ extension, then an alernate
signature file can be specified, this must be placed after a comma, then an
alternate tagline file can be added as well, again after another comma, and
lastly another option is again after a comma and is an alternate 'from name'.
This 'from name' is used put in the from field of msgs that SIGadd rewrites,
any spaces are specified by underscores and replaced by spaces when the name
is replaced. For example specifying 'The_Evil_PaulC' in your config will
replace with name in the from field with 'The Evil PaulC'.
The alternate files only overide the default file for the area where they
are specified.
The tagline file is a list of up to 200 taglines, one per line, which are
randomly added into the signature where specified. This is specified by
using the correct control code, current codes are:
%q ... replace with random tagline
%d ... date (at time of SIGadd processing)
%t ... time (at time of SIGadd processing)
%n ... name of the person message is addressed to
MY SIGNATURES ARE INCLUDED AS EXAMPLES, DON'T FORGET TO CHANGE THEM BEFORE
THEY GET ADDED TO YOUR MESSAGES. ;-)
KEYWORDS USED:
Keyword : Name <name>
Type : Compulsory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This should be your name, the name of the person whose messages the
signature should be added to.
Keyword : AddText <file>
Type : Compulsory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is the default text file that is added to the bottom of processed
messages.
Keyword : AreasList <file>
Type : Compulsory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is the list of areas to be scanned, and may also contain alternate
textfile specifications to be added to individual areas and also
alternate tagline files for individual areas.
Keyword : QuoteFile <file>
Type : Optional
Default : No quotes used
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is the default list of taglines used to replace %q in the default
and alternate AddText files.
Keyword : NoLog <logging types>
Type : Optional
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyword is used for disabling some of the logging if you wish to
cut down the log size a bit. You just specify the types one after the
other as they appear on the very left of the SIGADD.LOG file.
EXAMPLE CONFIGURATION FILES:
============================
An example of the main SIGADD.CFG configuration file follows:
----------------------------------------------------------------- CUT HERE
; SIGaddST Copyright (c) Paul Civati
;
; Example SIGaddST configuration file
;
Name Paul Civati
AddText d:\point\system\general.sig
AreasList d:\point\system\sigadd.lst
QuoteFile d:\point\system\taglines.txt
NoLog += -#
----------------------------------------------------------------- CUT HERE
An example areas list file follows:
----------------------------------------------------------------- CUT HERE
; SIGaddST Copyright (c) Paul Civati
;
; Example SIGaddST areas list file
;
d:\point\system\areas\tavchat
d:\point\system\areas\n_nest,d:\point\system\alt_sig1.sig,d:\alt_tags.txt
d:\point\system\areas\n_st
d:\point\system\areas\n_comms,d:\point\system\smaladdr.sig
d:\point\system\areas\n_prog
d:\point\system\areas\n_progc
d:\point\system\areas\n_common,d:\cmn_sig.sig,d:\cmn_tags.txt,The_Evil_PaulC
; d:\point\system\areas\uukjobs,d:\point\system\usenet.sig,d:\moretags.txt
d:\point\system\areas\ujbsoffr,d:\point\system\usenet.sig
; d:\point\system\areas\ujbsdisc,d:\point\system\usenet.sig
; d:\point\system\areas\ujbswant,d:\point\system\usenet.sig
d:\point\system\areas\u_csas,d:\point\system\usenetst.sig
d:\point\system\areas\u_csast,d:\point\system\usenetst.sig
----------------------------------------------------------------- CUT HERE
===============================================================================
PROGRAM UPDATE HISTORY:
-------------------------------------------------------------------------------
1.00< Not released
---------------------------------
* No versions prior to 1.00 were released because they were very buggy,
ie. they didn't work without crashing. ;-(
1.00 - Jun 23 1994 First release
---------------------------------
* Initial release, issued to a few people.
1.01 - Jul 06 1994 Small release
---------------------------------
* Someone asked for a copy so I gave them a copy. ;-)
* Fixed bug where trailing spaces on the area paths in the areas list file
would cause a file not found error.
* Added a new configuration keyword, 'NoLog' allows you to specify logging
types that should be excluded from the SIGADD.LOG file, thanks to Steve
Basford for that suggestion, I had to add it really seeing as he sent
me a nice donation of 5, thanks Steve. :-)
1.02 - Jul 09 1994 Not released
---------------------------------
* Fixed NoLog bug, it would truncate after a space, a 'NoLog += -#%' for
example would not be read after the '+=' and the ' -#%' log types would
still be logged.
1.03 - Aug 24 1994 Small release
---------------------------------
* Added new feature, extra option added to areas list file, you can now
change your 'from name' on msgs that your sig is added to, this is just
done as an extra parameter in the areas list, reread the areas list
section for further explanation.
===============================================================================
Mail to me at the below address if there are any problems...
Due to lack of money, being 19 and at college I don't currently run a BBS of
my own (would like to!) but can be contacted at one of the below addresses,
although I prefere internet email or netmail to one of my point addresses:
Paul S Civati @ The Tavern BBS
36 Sunnymede Avenue, FidoNet 2:254/108
Carshalton, AtariNet 51:502/100
Surrey, NeST 90:102/140
SM5 4JF, TurboNet 100:1011/0
England. UK +44-181-445-6514 24 Hours
Paul Civati @ FidoNet 2:254/108.1, AtariNet 51:502/102, NeST 90:102/142
TurboNet 100:1011/0.1, InterNet: paul.civati@mettav.exnet.com
===============================================================================